package com.hafu.model;

// 学习进度类
public class StudyProgress {
    private String progressId;   // 进度ID
    private String studentId;    // 学生ID
    private String courseId;     // 课程ID
    private String chapterId;    // 当前学习章节ID
    private int status;          // 状态（0-未开始，1-进行中，2-已完成）

    // 构造方法
    public StudyProgress(String studentId, String courseId, String chapterId) {
        this.studentId = studentId;
        this.courseId = courseId;
        this.chapterId = chapterId;
        this.status = 0; // 默认未开始
    }

    // Getter 和 Setter 方法
    public String getProgressId() {
        return progressId;
    }

    public void setProgressId(String progressId) {
        this.progressId = progressId;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public String getChapterId() {
        return chapterId;
    }

    public void setChapterId(String chapterId) {
        this.chapterId = chapterId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}